Unable to load project(): You are missing a configuration file: config.global.dcf

337 views
Skip to first unread message

dmlvianna

unread,
Jul 19, 2012, 8:27:19 PM7/19/12
to project...@googlegroups.com
Dear John,

I'm a beginner R user. I just installed ProjectTemplate through CRAN, and I'm following your Getting Started tutorial. As I typed

 load.project()

I got the error message

Unable to load project(): You are missing a configuration file: config.global.dcf

Setting the working directory with

setwd("C:\\R\\letters")

fixed the issue. As the tutorial does not mention this, it might throw off inexperienced readers like me, who expect it to be able to make everything work by following this guide to the letter. I am letting you know so you might want add this cautionary instruction to the tutorial to help newbies like me?

Cheers, Daniel.

John Myles White

unread,
Jul 22, 2012, 11:53:27 PM7/22/12
to project...@googlegroups.com
Hi Daniel,

Is there any chance you could find a place in the tutorial text where you think a change would help clarify things? It's hard for me to reread things from scratch and if you know where it's confusing, you're in a better position to propose an edit.

Best,

 -- John

Daniel Vianna

unread,
Jul 23, 2012, 1:54:15 AM7/23/12
to project...@googlegroups.com
Hi, John.

I forgot to thank you for ProjectTemplate! It is really helping me to start learning R with the right foot.

I would suggest you make the following addition to your text:

With the letters.csv.bz2 data set in place, we can start to use ProjectTemplate's automated data loading features. Open up R again and type the following:
    
   setwd("path_to_letters_directory")
library('ProjectTemplate') load.project()
You'll see ProjectTemplate print out a bunch of messages:

Cheers,

Daniel.

John Myles White

unread,
Jul 23, 2012, 8:37:25 AM7/23/12
to project...@googlegroups.com
Glad it helps. I've made the change and will push it to the live site soon.

 -- John

Alpha Diallo

unread,
Feb 4, 2013, 5:01:45 PM2/4/13
to project...@googlegroups.com
Still not working for me.  i tried the absolute path thing to no avail.

John Myles White

unread,
Feb 4, 2013, 9:13:43 PM2/4/13
to project...@googlegroups.com
Hi Alpha,

Can you give some more information? In particular, what does the following code output?

file.path("config", "global.dcf"))

I am worried that a call to file.path() is missing or broken on your system, because the relevant file isn't config.global.dcf, but rather config/global.dcf or config\global.dcf

 -- John

--
You received this message because you are subscribed to the Google Groups "ProjectTemplate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projecttempla...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages