Displaying 15 results from an estimated 15 matches for "txtfile".
Did you mean:
textfile
2009 Jan 19
3
download/retain text file structure with RCurl/getURL()
Dear list,
I'm trying to download a text file directly from the internet using the RCurl package and the command getURL. Duncan Lang graciously helped me solve the first step in this problem using the following command:
#################
txtfile <- getURL('ftp://ftp.wcc.nrcs.usda.gov/data/snow/snow_course/table/history/idaho/13e19.txt',
ftp.use.epsv = FALSE)
#################
This brings the text file into R in a single long character string. I've spent many hours now trying to bring this text file into R into a sensible...
2011 Mar 31
1
Assign Names of columns in data.frame dinamically
...gotten, so I ask help with
this, if somebody cans help me I'll be so thankfully.
--------------------------------------------------------------------------------------------------------
rm(list=ls())
# loadEcgFiles <- function(Dir=".") {
Dir <- ".";
txtfiles <- list.files(paste(Dir),'.txt$');
ecg = data.frame(ncol=1);
len = length(txtfiles);
for (i in 1:5 ) {
# i <- 1;
filename = paste(projectDir, "/" ,
txtfiles[i],sep='');
sample = read.table(filename, nrow=75000...
2006 Jan 31
0
Samba 3 and german umlaute in filenames/ can not delete or rename files or dirs
...tory.
If I want do delete or rename the files or dirs with german umlaute I got an
error message. "I can not read the file from source".
creating new dirptr 256 for path ./, expect_close = 1
[2006/01/31 20:03:42, 4] smbd/trans2.c:call_trans2findfirst(1739)
dptr_num is 256, wcard = txtfile???.txt, attr = 22
[2006/01/31 20:03:42, 8] smbd/trans2.c:call_trans2findfirst(1744)
dirpath=<./> dontdescend=<>
[2006/01/31 20:03:42, 5] smbd/files.c:file_new(139)
allocated file structure 990, fnum = 5086 (1 used)
[2006/01/31 20:03:42, 5] smbd/open.c:open_file_stat(2111)
open_fil...
2011 Oct 05
2
kriging shapefiles
Hi! Im new to R and I need to interpolate a shapefile using kriging. I've been able to plot/read the shapefile using the package maptools or rgdal. I've searched the internet for sample codes but most of the kriging codes that I've found done in R is done using txtfiles or CSVs. An example could be of great help. Thanks.
[[alternative HTML version deleted]]
2016 Apr 15
1
Need Help to solve an Error in R
...message it seems to me possible that function ReadExi needs to write something to the working directory. As I said I am not an expert in this package, but commands from help
R> make.gal.env(galname='galenv', gal.path='Exiqon')
R> ebatch <- ReadExi(galname='galenv', txtfile.path='Exiqon')
are rather different from yours and I am not sure if it matters.
Here I understand that
# The folder 'Exiqon' contains the file 'samplesinfo.txt' and the corresponding raw data files in ImaGene format
## Not run: ebatch <- ReadExi(txtfile.path='Exiqon...
2008 Dec 21
3
Globbing Files in R
Dear all,
For example I want to process set of files.
Typically Perl's idiom would be:
__BEGIN__
@files = glob("/mydir/*.txt");
foreach my $file (@files) {
# process the file
}
__END__
What's the R's way to do that?
- Gundala Viswanath
Jakarta - Indonesia
2016 Apr 15
0
Need Help to solve an Error in R
...s to me possible that function ReadExi needs to write something to the working directory. As I said I am not an expert in this package, but commands from help
>
> R> make.gal.env(galname='galenv', gal.path='Exiqon')
> R> ebatch <- ReadExi(galname='galenv', txtfile.path='Exiqon')
>
> are rather different from yours and I am not sure if it matters.
To Jyoti;
The first line of code in the help file fails with a message:
> make.gal.env(galname='galenv', gal.path='Exiqon')
Error in make.gal.env(galname = "galenv", ga...
2017 Jul 16
3
readLines without skipNul=TRUE causes crash
hi, thank you for attempting this. it looks like your unix machine unzipped
the txt file without corruption -- if you copied over the same txt file to
windows 7, i don't think that would reproduce the problem? i think it
needs to be the corrupted text file where R.utils::countLines( txtfile
) gives 809367. i am able to reproduce on two distinct windows machines
but no guarantee i'm not doing something dumb
On Sat, Jul 15, 2017 at 6:29 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
wrote:
> I am not able to reproduce your segfault on a Windows 7 platform either:
>...
2017 Jul 16
0
readLines without skipNul=TRUE causes crash
...or attempting this. it looks like your unix machine
>unzipped
>the txt file without corruption -- if you copied over the same txt file
>to
>windows 7, i don't think that would reproduce the problem? i think it
>needs to be the corrupted text file where R.utils::countLines(
>txtfile
>) gives 809367. i am able to reproduce on two distinct windows
>machines
>but no guarantee i'm not doing something dumb
>
>On Sat, Jul 15, 2017 at 6:29 PM, Jeff Newmiller
><jdnewmil at dcn.davis.ca.us>
>wrote:
>
>> I am not able to reproduce your segfault...
2017 Jul 16
2
readLines without skipNul=TRUE causes crash
...ike your unix machine
> >unzipped
> >the txt file without corruption -- if you copied over the same txt file
> >to
> >windows 7, i don't think that would reproduce the problem? i think it
> >needs to be the corrupted text file where R.utils::countLines(
> >txtfile
> >) gives 809367. i am able to reproduce on two distinct windows
> >machines
> >but no guarantee i'm not doing something dumb
> >
> >On Sat, Jul 15, 2017 at 6:29 PM, Jeff Newmiller
> ><jdnewmil at dcn.davis.ca.us>
> >wrote:
> >
> >...
2006 Feb 10
3
robots.txt best practices
I''d been ignoring this error message in my log for a while:
ActionController::RoutingError (Recognition failed for "/robots.txt"):
I had never touched robots.txt. So I decided to make it a proper robots.txtfile
I found this great article...
http://www.ilovejackdaniels.com/seo/robots-txt-file/
...where Dave explains the ins and outs of the file.
Before I changed mine, I thought I''d poll the group to see if anyone had any
good thoughts on the subject -like any rails-specific excludes. And whethe...
2017 Jul 16
0
readLines without skipNul=TRUE causes crash
...gt;unzipped
>> >the txt file without corruption -- if you copied over the same txt
>file
>> >to
>> >windows 7, i don't think that would reproduce the problem? i think
>it
>> >needs to be the corrupted text file where R.utils::countLines(
>> >txtfile
>> >) gives 809367. i am able to reproduce on two distinct windows
>> >machines
>> >but no guarantee i'm not doing something dumb
>> >
>> >On Sat, Jul 15, 2017 at 6:29 PM, Jeff Newmiller
>> ><jdnewmil at dcn.davis.ca.us>
>> &g...
2017 Jul 17
1
readLines without skipNul=TRUE causes crash
...xt file without corruption -- if you copied over the same txt
> >file
> >> >to
> >> >windows 7, i don't think that would reproduce the problem? i think
> >it
> >> >needs to be the corrupted text file where R.utils::countLines(
> >> >txtfile
> >> >) gives 809367. i am able to reproduce on two distinct windows
> >> >machines
> >> >but no guarantee i'm not doing something dumb
> >> >
> >> >On Sat, Jul 15, 2017 at 6:29 PM, Jeff Newmiller
> >> ><jdnewmil at d...
2017 Jul 15
0
readLines without skipNul=TRUE causes crash
I am not able to reproduce your segfault on a Windows 7 platform either:
##########################
fn1 <- "d:/DADOS_ENEM_2009.txt"
sessionInfo()
## R version 3.4.1 (2017-06-30)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 7 x64 (build 7601) Service Pack 1
##
## Matrix products: default
##
## locale:
## [1] LC_COLLATE=English_United States.1252
## [2]
2017 Jul 15
3
readLines without skipNul=TRUE causes crash
I am not able to reproduce this on a Linux platform:
#######################3
fn1 <- "/home/jdnewmil/Downloads/Microdados ENEM 2009/Dados Enem 2009/DADOS_ENEM_2009.txt"
sessionInfo()
## R version 3.4.1 (2017-06-30)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 14.04.5 LTS
##
## Matrix products: default
## BLAS: /usr/lib/libblas/libblas.so.3.0
## LAPACK: