On 11/05/2017 9:56 AM, Zhian Kamvar wrote:
I sent this earlier, but from a different email and it bounced on the list:
You might try placing a directory (e.g. foo) of a few small dummy text
files in inst/ and then in the example use:
system.file("foo")
as the input to your example.
That's th
sorry , my bad!
its,
x<-file.path("C:/Users/anand/Desktop/Internship", "dataftc")
Thanks,
Ujjwal
On Thu, May 11, 2017 at 3:54 PM, ujjwal anand wrote:
> Hi,
> I am creating a function ftsc(x)
> where x is given by:
> x<-cname <- file.path("C:/Users/anand/Desktop/Internship", "dataftc")
> In the
I sent this earlier, but from a different email and it bounced on the list:
You might try placing a directory (e.g. foo) of a few small dummy text files in
inst/ and then in the example use:
system.file("foo")
as the input to your example.
That being said, system.file() often confuses users, s
Hi,
I am creating a function ftsc(x)
where x is given by:
x<-cname <- file.path("C:/Users/anand/Desktop/Internship", "dataftc")
In the dataftc folder I have stored all the text files to be clustered by
my function.
So, while creating the package I have to include an example and that is my
problem.
On 11/05/2017 6:42 AM, ujjwal anand wrote:
Hello Sir/Ma'am,
I am trying to build a package on R. But my function, which takes a folder
full of text files as an argument.
So, could you please share some ideas on how to import a folder (which
contains multiple text files) for "@example".
Not sur