Specify directory with setwd()

I understand that in R to set my working directory I can do:


If mydir is a unique directory name, is there way to specify the working directory without stating dir1/dir2 ?



Sys.glob does what you want:


If you don't know how deep it's nested, you can use list.files or dir:

list.files(path="~", pattern="mydir", all.files=TRUE, full.names=TRUE,
  recursive=TRUE, ignore.case=FALSE, include.dirs=TRUE)

Need Your Help

load processing.js sketch with ajax on user click

javascript jquery ajax canvas processing.js

I'm trying to load a processing.js sketch with ajax on click and it's not working. It works if I load the sketch instantly, but not on a user interaction. Here's my code:

ASP.NET MVC Performance

asp.net asp.net-mvc performance webforms

I found some wild remarks that ASP.NET MVC is 30x faster than ASP.NET WebForms. What real performance difference is there, has this been measured and what are the performance benefits.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.