Displaying 3 results from an estimated 3 matches for "thefilename".
Did you mean:
otherfilename
2007 Jul 30
1
iax2 trunk registration with auth rsa
hi all,
I am trunking via iax2 2 asterisk serverses
if both of them have static ip addresses, I can connect them using no
password, password or auth rsa with a pair of keys.
If one of them has dynamic ip address and need to register on the other
server, I can connect them with no password, but I am not able to do that
using keys.
The question is: which is the right register syntax to use when
2009 Sep 10
2
"Read.csv" in R with dynamic file (1st) argument
Dear R users,
I have numerous data sets (csv files) saved in the folder which has the same
name as individual data.
(i.e data x1 saved in x1 folder, data x2 in x2 folder etc)
I would like to read in the desired data set name using 'scan' function and
assign this inputted value to an object so that it can be used in the
'read.csv' function.
For example,
x <- scan()
1: 0708
2009 Sep 11
3
For sending my R package as part of R-project
...amic file (1st) argument
To: "r-help at r-project.org" <r-help at r-project.org>
Message-ID: <4AA98532.8060303 at witthoft.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
That will not work (or at least doesn't work for me.
This does work:
fnam<-'thefilename.csv' #or build the name however you like
fpath <- 'macintoshhd/users/me/myfolder/ # or whatever you need
read.csv(eval(paste(fpath,fnam,sep="")) #worked for me
Carl
-----------
Try this:
read.csv(sprintf("D://R//Data//%04d//%04d.csv", x, x), header = TRUE)...